This applet reads a data file and displays the data in a table. The data
file format must be the following: the lines in the file match the rows in the table. In a
line, the data from different columns are separated by a ','. For instance:
cake,food,$3.95
monitor,computer,$200
You can have another sample by viewing the file "data.txt". You can set the columns colors, add a border...
Name |
Description |
Default |
Status |
data_file |
the data file. Format is described above |
- |
required |
background_color | the background color | white | required |
background_color2 | fill this parameter to make the background color of the rows to be alternated. One row background color will be "background_color", the following one will "background_color2", next "background_color", and so on | blue | optional |
columns_color | the default color for the data in all columns | black | required |
columns_color1 columns_color2 ... |
if you want the data in a specify column to be colored with another color than "columns_color" then add "columns_colorN", where is the column number | - | optional |
title_mode | you can separate the first row
of the table to make it as the title row: "0": no title "1": the first line of the data file is used as title row "2": use "title_row" as title |
0 | required |
title_row | the title row, if you have set "title_mode" to "2", for instance it could be: "Stock ticker,Date,Open,Close" | - | optional |
skip_first_row | 1: skip the first line in the
data file 0: read the first line as the other ones |
0 | required |
border | the border size | 0 | optional |
border_color | the border color | black | optional |
status_bar_text | the text to display in the status bar when the mouse is over | - | optional |
link | URL linked page when click | - | optional |
target | the target of the new page : - "_blank" : show in a new unnamed top-level window - "_self" : show in the current frame - "_parent" : show in the parent frame - "_top" : show in the top-most frame or a custom frame name |
_blank | optional |
registration_code | the registration code | - | required |
Special notes |
* You can put relative URL (to target a file on your site) or
absolute (with "http://...") URL. example: relative URL: ../home/home.html absolute URL: http://www.yahoo.com * The background color format is hexadecimal format like this : blue is "#0000ff"", red is "#ff0000" ... If you want that the background color is the same as the one of the page, look at the html source file and find the balise : <body bgcolor="#00FFFF"> then copy the value, here it's "#00ffff". Use the "HexColor" applet to convert RGB color to hexadecimal color. |
Copyright 1999-2001 Taiji Software
All Rights Reserved
http://www.taijisoftware.com
support@taijisoftware.com